package com.ias.train.common;

/**
 * @program: train
 * @description: 消息处理类型枚举类
 * @author: Daniel Shen
 * @create: 2022-04-23 15:26
 */
public enum MessageStatusType {
    NORMAL("NORMAL", "正常"),
    SUCCESS("SUCCESS", "成功"),
    FAIL("FAIL", "失败"),
    ERROR("ERROR", "错误"),
    WARN("WARNING", "警告"),
    TIP("TIP", "提示");

    private String type;
    private String message;

    MessageStatusType(String type, String message) {
        this.type = type;
        this.message = message;
    }

    public String getType() {
        return this.type;
    }

    public String getMessage() {
        return this.message;
    }
}
